You are here: Record management > Rule testing > PegaUnit testing > Configuring decision result assertions

Configuring decision result assertions

After you create a PegaUnit test case for a decision table or decision tree, the system generates a read-only decision result assertion. This assertion displays the result that the test generated for the input value that you specified during unit testing of the rule.

Note: This assertion is supported on decision tables and decision trees only.

You can modify this value, add and delete input values and results, or add other assertions by completing the following steps:

  1. Complete one of the following actions:

  2. To modify an input value and result, enter new values in the fields of the decision result assertion.

    Notes:

  1. Complete one of the following actions:

  2. Save the rule form.

    When you run the test case, the decision tree or table runs through each input value and expected result that you specified in this assertion.

    The assertion does not pass if all the results returned by running the rule do not match all the input and expected result combinations.